{include file=$header_start}
{include file=$header_end}
{strip}
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/dashboard.css">
<script src="{$siteroot}/includes/js/myaccount.js" type="text/javascript"></script>
{/strip}
{literal}
<script type="text/javascript">
function isSpace(e)                                                                   //Check for Blank spaces
{
	if(navigator.appName=="Microsoft Internet Explorer")
	{
		if(e.keyCode==32)	
		{
			return false;
		}
	}
	if(navigator.appName=="Netscape")
	{
		if(e.which==32)	
		{
			return false;
		}
	}
	return true;
}
</script>
{/literal}
   <!-- MIDDLE CONTAIN GOES HERE -->
<section class="middle_portion">
	<section class="inner_head">Dashboard</section>
    <section class="inner_containstart">
    	<!-- dashboard Left Content Start -->
        	{include file=$cms_left_content}
        <!-- dashboard Left Content End -->
        <!-- dashboard Right Content Start -->
        	<section class="dash_right">
        	                {if $msg}{$msg}{/if}
                <section class="title_box">
                    <h4>Change Password</h4>
                    <section class="clear"></section>
                </section>
                  <form method="post" action="" name="frmMngPassword" id="frmMngPassword">
                <section class="profile_wrapp">
                    <dl>
                        <dt><label>Current Password :  </label></dt>
                        <dd><input type="password" name="current_pass" id="current_pass" class="input" onkeypress="return isSpace(event);" /></dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    <dl>
                        <dt><label>New Password  </label></dt>
                        <dd><input type="password" name="pass" id="pass" class="input" onkeypress="return isSpace(event);" /></dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    <dl>
                        <dt><label>Confirm-Password </label></dt>
                        <dd><input type="password" name="cpass" id="cpass" class="input" onkeypress="return isSpace(event);" /></dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    
                    <section class="bt_save_wrapp">
                    	<input type="submit" value="Save" class="bt_save" name="password_btn" id="password_btn"/>
                        <input type="button" value="Cancel" name="cancel_btn" id="cancel_btn" class="bt_save" {if $smarty.session.user_type eq '3'} onclick="window.location.href='{$siteroot}/myaccount/'" {else} onclick="window.location.href='{$siteroot}/profile/{$userDetArray.newcomapnyname}'" {/if}/>
                    </section>
                </section>
            </section>
            </form>
        <!-- dashboard Right Content End -->
        	<section class="clear"></section>
    </section>
</section>
{include file=$footer}
